# -*- encoding=utf8 -*-
import unittest
from htmltestreport import HTMLTestReport
from common.logging_use import init_log_config
from config import BASE_DIR
from scripts.loginTestcase import loginTest
from scripts.subChoiceTestCase import subChoiceTest

init_log_config(BASE_DIR + '/log/info.log')

suite = unittest.TestSuite()

suite.addTest(unittest.makeSuite(loginTest))
suite.addTest(unittest.makeSuite(subChoiceTest))

runner = HTMLTestReport(BASE_DIR+"/report/testReport.html","测试报告")

runner.run(suite)
